import React from 'react';

import Constants from '../../common/Constants';
import PostConstants from '../../common/PostConstants';
import BaseAction from '../common/BaseAction';
import NewsRequestMyNewsNumAction from '../news/NewsRequestMyNewsNumAction';
import PostRequestMyPostCommentsNumAction from '../post/PostRequestMyPostCommentsNumAction';
import PostRequestMyPushPostsNumAction from '../post/PostRequestMyPushPostsNumAction';
import QuanziRequestQunliaoUnreadedNumAction from '../quanzi/QuanziRequestQunliaoUnreadedNumAction';
import HeartRequestMsgListAction from '../heart/HeartRequestMsgListAction';

export default class NoticeRequestUnreadedNumAction extends BaseAction {
  constructor(props) {
    super(props);

    this.moduleType = Constants.MODULE_TYPE.NOTICE;
    this.name = "NoticeRequestUnreadedNumAction";
  }

    // {type:"news", numStr:"myNewsCommentsNum", num:0},//新闻
    // {type:"quanzi_post", numStr:"myQuanziCommentsNum", num:0},//圈子帖子回复 myPostCommentsNum PostConstants.BORDER_TYPE.QUANZI
    // {type:"zahupu_post", numStr:"myZHPCommentsNum", num:0},//杂货铺帖子回复 myPostCommentsNum PostConstants.BORDER_TYPE.ZAHUOPU
    // {type:"huiyuan", numStr:"myVipCardPostNum", num:0},//会员服务卡
    // {type:"quanzi_qunliao", numStr:"myQuanziQunliaoNum", num:0},//圈子群聊
    // {type:"lovething", numStr:"myLovethingNum", num:0},//爱情事
    // {type:"xinling", numStr:"myXinlingNum", num:0},//心灵工坊
    // {type:"manager", numStr:"myManagerNum", num:0},//创新创效管理员
  finish(responseJson, isSucceed) {
    new NewsRequestMyNewsNumAction().call(this.caller,{type:this.data.type});
  }
}
